package com.baidu.echarts;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

public class Title {

    @JsonProperty(index = 1)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String text;
    @JsonProperty(index = 2)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String subtext;
    @JsonProperty(index = 3)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String x;

    public String getText() {
        return text;
    }

    public Title setText(String text) {
        this.text = text;
        return this;
    }

    public String getSubtext() {
        return subtext;
    }

    public Title setSubtext(String subtext) {
        this.subtext = subtext;
        return this;
    }

    public String getX() {
        return x;
    }

    public Title setX(String x) {
        this.x = x;
        return this;
    }
}
